﻿@{
    ViewBag.Title = "登录";
    Layout = "~/Views/Shared/_LoginLayout.cshtml";
}
<div style="vertical-align: middle; height: 200px; width: 500px; margin: 0px auto; padding-top: 50px;">
    <form class="form-horizontal" role="form" action="/Admin/Account/Login" method="post">
        <div class="form-group">
            <label for="logname" class="col-sm-2 control-label">用户名：</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="logName" name="logName" value=""
                    placeholder="请输入用户名" size="30" style="width:450px;">
            </div>
        </div>
        <div class="form-group">
            <label for="pwd" class="col-sm-2 control-label">密 码：</label>
            <div class="col-sm-10">
                <input type="password" class="form-control" id="pwd" name="pwd" value=""
                    placeholder="请输入密码" size="30" style="width:450px;">
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
                <button type="submit" class="btn btn-primary">登录</button>
            </div>
            <div class="col-sm-offset-2 col-sm-5"><a href="/Admin/Account/ForgetPassWord">忘记密码？</a></div>
        </div>
    </form>
</div>
<script type="JavaScript">
             if (window != top)
                       top.location.href = location.href;
</script>
